import {request} from '@/utils/request.js'

// 登录认证
export const login = (formData) => request({
	url: `user/login`,
	method: 'POST',
	data: formData,
	timeout:10000,
	sslVerify:false
});
// 登录认证
export const loginCheck = () => request({
	url: `user/getLoginUserInfo`,
	method: 'GET' 
});

// 日常检查列表
export const inspectList = (data) => request({
	url: `dailyInspect/page?pageNum=${data.pageNum}&pageSize=${data.pageSize}`,
	method: 'GET',
	data: data
});

// 检查结果列表
export const resultList = (data) => request({
	url: `dailyInspect/inspectionResultPage?pageNum=${data.pageNum}&pageSize=${data.pageSize}`,
	method: 'GET',
	data: data
});

// 日常检查列表未检查新增检查弹出风险提示弹窗
export const getCompanyRiskInfo = (data) => request({
	url: `base/getCompanyRiskInfo`,
	method: 'GET',
	data: data
});

// 日常检查列表未检查新增检查弹出风险提示弹窗风险项详情
export const getRiskInfo = (data) => request({
	url: `base/getRiskInfo`,
	method: 'GET',
	data: data
});

// 日常检查列表未检查新增检查当前企业基础信息
export const getInspectionBaseInfo = (data) => request({
	url: `dailyInspect/getInspectionBaseInfo`,
	method: 'GET',
	data: data
});
// 日常检查列表未检查新增检查当前企业基础信息
export const getInspectionBaseInfoV2 = (data) => request({
	url: `dailyInspect/v2/getInspectionBaseInfo`,
	method: 'GET',
	data: data
});

// 日常检查检查内容
export const checkItemList = (data) => request({
	url: `dailyInspect/checkItemList`,
	method: 'GET',
	data: data
});

// 日常检查选项存储
export const saveCheckItem = (formData) => request({
	url: `dailyInspect/saveCheckItem`,
	method: 'POST',
	data: formData
});

// 日常检查保存
export const saveCheckInfo = (formData) => request({
	url: `dailyInspect/saveCheckInfo`,
	method: 'POST',
	data: formData
});
// 日常检查最终保存
export const finaSaveInfo = (formData) => request({
	url: `dailyInspect/finaSaveInfo`,
	method: 'POST',
	data: formData
});

// 获取检查结果
export const getCheckResultInfo = (formData) => request({
	url: `dailyInspect/getCheckResultInfo`,
	method: 'GET',
	data: formData
});


// 日常检查结果详细项
export const getCheckContentList = (formData) => request({
	url: `dailyInspect/getCheckContentList`,
	method: 'GET',
	data: formData
});

// 搜索
export const inspectListSearch = (data) => request({
	url: `dailyInspect/page?pageNum=${data.pageNum}&pageSize=${data.pageSize}&companyName${data.companyName}`,
	method: 'GET',
	data: data
});

// 智能客服
export const sendMessage = (formData) => request({
	url: `customerService/sendMessageNew`,
	method: 'POST',
	data: formData
});
// 智能客服
export const labelGetAnswerLabel = (formData) => request({
	url: `customerService/bertLabelGetAnswerLabel`,
	method: 'POST',
	data: formData
});

// 智能客服
export const answerLabelGetComment = (formData) => request({
	url: `customerService/answerLabelGetComment`,
	method: 'POST',
	data: formData
});
// 智能客服-获取最终消息内容
export const commentGetLabel = (formData) => request({
	url: `customerService/commentGetLabel`,
	method: 'POST',
	data: formData
});

// 智能客服-获取最终消息内容
export const commentLabelGetResult = (formData) => request({
	url: `customerService/commentLabelGetResult`,
	method: 'POST',
	data: formData
});

// 智能客服-获取最终消息内容
export const addHotMessageViewNum = (formData) => request({
	url: `customerService/addHotMessageViewNum`,
	method: 'POST',
	data: formData
});


// 智能客服-获取消息的详细信息
export const getMessageDetail = (data) => request({
	url: `customerService/getMessageDetail`,
	method: 'GET',
	data: data
})
// 智能客服-获取热门消息列表
export const getHotMessageList = (data) => request({
	url: `customerService/getHotMessageList`,
	method: 'GET',
	data: data
});
// 智能客服-搜索获取企业列表
export const getRobotCompanyList = (data) => request({
	url: `searchapi/company`,
	method: 'GET',
	data: data
});
// 智能客服-搜索获取行政处罚列表
export const getRobotPunishmentList = (data) => request({
	url: `searchapi/xzcfDoc`,
	method: 'GET',
	data: data
});
// 智能客服-搜索获取异常名录
export const getRobotAbnormalList = (data) => request({
	url: `searchapi/ycjyml`,
	method: 'GET',
	data: data
});
// 智能客服-搜索列入严重违法失信名单（黑名单）信息
export const getRobotPromiselList = (data) => request({
	url: `searchapi/yzwfsxmd`,
	method: 'GET',
	data: data
});
// 智能客服-搜索执法文书列表
export const getRobotEnforcementDocList = (data) => request({
	url: `searchapi/caipanDoc`,
	method: 'GET',
	data: data
});
// 智能客服-搜索抽检不合格列表
export const getRobotSpotCheckNList = (data) => request({
	url: `searchapi/ygsbhgxx`,
	method: 'GET',
	data: data
});
// 智能客服-搜索抽检合格列表
export const getRobotSpotCheckList = (data) => request({
	url: `searchapi/ygshgxx`,
	method: 'GET',
	data: data
});
// 智能客服-搜索经营许可信息 
export const getRobotLicenseList = (data) => request({
	url: `searchapi/pzJyqy`,
	method: 'GET',
	data: data
});
// 智能客服-搜索生产许可信息 
export const getRobotScLicenseList = (data) => request({
	url: `searchapi/pzScqy`,
	method: 'GET',
	data: data
});
// 智能客服-搜索日常检查信息
export const getRobotDayCheckList = (data) => request({
	url: `searchapi/pzCompanyRcjc`,
	method: 'GET',
	data: data
});
//保存告知单
export const saveCheckInform = (data) => request({
	url: `dailyInspect/saveCheckInform`,
	method: 'POST',
	data: data
});
//获取企业监管环节列表
export const getProcessCodeList = (data) => request({
	url: `base/processCodeList`,
	method: 'GET',
	data: data
});
//获取企业监管人列表
export const getSupervisePersonList = () => request({
	url: `base/getSupervisePersonList`,
	method: 'GET'
});
//获取路线规划查询的企业列表
export const getRoutePlanList = (data) => request({
	url: `base/routePlanList`,
	method: 'GET',
	data: data
});
//获取整改信息列表
export const getRectificationPage = (data) => request({
	url: `rectification/page`,
	method: 'GET',
	data: data
});
//获取整改信息详情
export const getRectificationInfo = (data) => request({
	url: `rectification/problemList`,
	method: 'GET',
	data: data
});
//获取整改详情信息
export const getRectificationSituation = (data) => request({
	url: `rectification/getRectificationSituation`,
	method: 'GET',
	data: data
});
//获取整改详情信息
export const deleteRectificationImage = (data) => request({
	url: `rectification/deleteRectificationImage`,
	method: 'POST',
	data: data
});
//保存整改信息
export const saveRectificationInfo = (data) => request({
	url: `rectification/saveRectificationInfo`,
	method: 'POST',
	data: data
});
// 智能客服-获取消息的详细信息
export const getMaterialsTypeList = (data) => request({
	url: `scan/getMaterialsTypeList`,
	method: 'GET',
	data: data
});
// 获取2760判定标准类别
export const get2760TypeList = () => request({
	url: `scan/get2760TypeList`,
	method: 'GET',
});
// 获取原料类型列表
export const getMaterialsTypeListByParent = (params) => request({
	url: `scan/getMaterialsTypeListByParent`,
	method: 'GET',
	data: params
});
// 识别原料结果
export const getMaterialsScanResult = (params) => request({
	url: `scan/getMaterialsScanResult`,
	method: 'POST',
	data: params
});
// 通过原料类别获取对应的可检查企业
export const getCompanyByType = (params) => request({
	url: `company/getCompanyByType`,
	method: 'GET',
	data: params
});
//调查处理列表页
export const getInvestigationPage = (data) => request({
	url: `investigation/page`,
	method: 'GET',
	data: data
});
//调查处理详情页面问题列表
export const getInvestigationProblemList = (data) => request({
	url: `investigation/getProblemList`,
	method: 'GET',
	data: data
});
//调查处理不予处理理由
export const getInvestigationNotFilingList = () => request({
	url: `investigation/notFilingList`,
	method: 'GET'
});
//调查处理获取处理情况
export const getInvestigationInfo = (data) => request({
	url: `investigation/getInvestigationInfo`,
	method: 'GET',
	data: data
});
//调查处理获取处理情况
export const saveInvestigationInfo = (data) => request({
	url: `investigation/saveInvestigationInfo`,
	method: 'POST',
	data: data
});
//我的信息
export const getMyUserInfo = (data) => request({
	url: `user/getMyUserInfo`,
	method: 'GET',
	data: data
});
//获取双随机检查列表信息
export const doubleRandomCheckPage = (data) => request({
	url: `doubleRandomCheck/page`,
	method: 'GET',
	data: data
});

//获取双随机检查结果列表信息
export const doubleRandomCheckResultPage = (data) => request({
	url: `doubleRandomCheck/inspectionResultPage`,
	method: 'GET',
	data: data
});

//获取双随机检查页面的基础信息内容
export const doubleRandomFinaSaveInfo = (data) => request({
	url: `doubleRandomCheck/finaSaveInfo`,
	method: 'POST',
	data:data
});

//获取双随机检查页面的基础信息内容
export const getDoubleRandomInspectionBaseInfo = (data) => request({
	url: `doubleRandomCheck/getInspectionBaseInfo`,
	method: 'GET',
	data:data
});

//获取双随机检查页面的检查内容
export const getDoubleRandomCheckItemList = (data) => request({
	url: `doubleRandomCheck/checkItemList`,
	method: 'GET',
	data:data
});
//获取双随机检查页面的检查内容
export const doubleRandomSaveCheckItem = (data) => request({
	url: `doubleRandomCheck/saveCheckItem`,
	method: 'POST',
	data:data
});

//获取双随机检查保存
export const doubleRandomSaveCheckInfo = (data) => request({
	url: `doubleRandomCheck/saveCheckInfo`,
	method: 'POST',
	data:data
});


//获取双随机检查告知单
export const doubleRandomSaveCheckInform = (data) => request({
	url: `doubleRandomCheck/saveCheckInform`,
	method: 'POST',
	data: data
});

// 获取双随机检查查看已检查完成的订单
export const getDoubleRandomCheckResultInfo = (formData) => request({
	url: `doubleRandomCheck/getCheckResultInfo`,
	method: 'GET',
	data: formData
});

// 获取模板列表
export const getDocTemplateList = (data) => request({
	url: `investigation/getTemplateList`,
	method: 'GET',
	data: data
});
// 获取模板需要填写的内容列表
export const getTemplateInputList = (data) => request({
	url: `investigation/getTemplateInputList`,
	method: 'GET',
	data: data
});
// 生成文书内容
export const generatorDocument = (data) => request({
	url: `investigation/generatorDocument`,
	method: 'POST',
	data: data
});

// 获取检索条件中通过监管环节获取一级企业业态列表
export const getCompanyTypeList = (data) => request({
	url: `base/getBusinessFormatList`,
	method: 'GET' ,
	data: data
});
// 获取任务数量统计
export const getTaskCountStatistics = (data) => request({
	url: `base/getTaskCountStatistics`,
	method: 'GET',
	data: data 
});
 
 // 获取模板详情
 export const getDocTemplateInfo = (data) => request({
 	url: `base/getDocTemplateInfo`,
 	method: 'GET' ,
 	data: data 
 });
 // 修改企业坐标信息
 export const editCompanyPoint = (data) => request({
 	url: `base/editCompanyPoint`,
 	method: 'POST' ,
 	data: data 
 });
 
 // 首页列表
 export const getNotice = (data) => request({
 	url: `notice/getNotice`,
 	method: 'GET' ,
 	data: data
 });
 
 // 首页列表选中
 export const getNoticeDetail = (data) => request({
 	url: `notice/getNoticeDetail`,
 	method: 'GET' , 
 });
 
 // 获取检查结果
 export const getCheckInfo = (data) => request({
 	url: `dailyInspect/getCheckInfo`,
 	method: 'GET' ,
 	data: data   
 });
 
 // 获取要电表是生成需要的数据
 export const getResultTable = (data) => request({
 	url: `dailyInspect/getResultTable`,
 	method: 'GET' ,
 	data: data   
 });
 
 // 退出登录
 export const loginOut = () => request({
 	url: `user/loginOut`,
 	method: 'GET' , 
 });
 
 // 旧密码验证
 export const checkPassWord = (data) => request({
 	url: `user/checkPassWord`,
 	method: 'POST' ,
 	data: data 
 });
 
 // 密码修改
 export const updatePassWord = (data) => request({
 	url: `user/updatePassWord`,
 	method: 'POST' ,
 	data: data 
 });
 
 // 主体信息列表
 export const getCompanyList = (data) => request({
 	url: `company/getCompanyList`,
 	method: 'GET' ,
 	data: data
 });
 // 主体信息列表明细
 export const getCompanyDetail = (data) => request({
 	url: `company/getCompanyDetail`,
 	method: 'GET' ,
 	data: data
 });
 export const saveCompanyInfo = (data) => request({
 	url: `company/saveCompanyInfo`,
 	method: 'POST' ,
 	data: data
 });
 // 修改主体信息
 export const updateCompanyPortrait = (data) => request({
 	url: `company/updateCompanyPortrait`,
 	method: 'GET' ,
 	data: data
 });
 
 // 文书字段帮办
 export const getFieldHelp = (formData) => request({
 	url: `investigation/fieldHelp`,
 	method: 'GET',
 	data: formData
 });
 // 文书字段帮办
 export const getDocumentHelp = (formData) => request({
 	url: `investigation/documentHelp`,
 	method: 'GET',
 	data: formData
 });
 // 文书帮办饼图
 export const getPunishmentCases = (formData) => request({
 	url: `/investigation/getPunishmentCases`,
 	method: 'GET',
 	data: formData
 });
 //-------------------------风险评分/评级-----------------------------
 // 检查获取检查项关联的风险类型
 export const getRiskTypeByCheckContent = (data) => request({
 	url: `riskManager/getRiskTypeByCheckContent`,
 	method: 'GET',
 	data: data
 });
 // 风险评分/评级列表
 export const getRiskList = (data) => request({
 	url: `riskManager/getList`,
 	method: 'GET',
 	data: data
 });
 // 静态风险评分获取检查页面信息
 export const getStaticContentInfo = (data) => request({
 	url: `riskManager/getStaticContentInfo`,
 	method: 'GET',
 	data: data
 });
 // 静态风险评分获取检查页面结果信息
 export const getStaticContentResultInfo = (data) => request({
 	url: `riskManager/getStaticContentResultInfo`,
 	method: 'GET',
 	data: data
 });
 // 保存静态评分告知单图片地址
 export const saveRiskStaticCheckInform = (data) => request({
 	url: `riskManager/saveRiskStaticCheckInform`,
 	method: 'POST',
 	data: data
 });
 // 保存静态评分信息
 export const saveRiskStaticCheck = (data) => request({
 	url: `riskManager/saveRiskStaticCheck`,
 	method: 'POST',
 	data: data
 });
 // 获取静态评分沿用上一年信息
 export const getRiskStaticLastYearCheck = (data) => request({
 	url: `riskManager/getRiskStaticLastYearCheck`,
 	method: 'GET',
 	data: data
 });
 // 保存静态评分沿用上一年信息
 export const saveRiskStaticLastYearCheck = (data) => request({
 	url: `riskManager/saveRiskStaticLastYearCheck`,
 	method: 'POST',
 	data: data
 });
 // 动态风险评分获取检查页面信息
 export const getDynamicContentInfo = (data) => request({
 	url: `riskManager/getDynamicContentInfo`,
 	method: 'GET',
 	data: data
 });
 // 动态风险评分上传告知单
 export const saveRiskDynamicCheckInform = (data) => request({
 	url: `riskManager/saveRiskDynamicCheckInform`,
 	method: 'POST',
 	data: data
 });
 // 动态风险评分保存
 export const saveRiskDynamicCheck = (data) => request({
 	url: `riskManager/saveRiskDynamicCheck`,
 	method: 'POST',
 	data: data
 });
 // 动态风险评分保存状态
 export const saveRiskDynamicCheckStatus = (data) => request({
 	url: `riskManager/saveRiskDynamicCheckOver`,
 	method: 'POST',
 	data: data
 });
 // 动态风险评分保存
 export const getRiskResultTable = (data) => request({
 	url: `riskManager/getRiskResultTable`,
 	method: 'GET',
 	data: data
 });
 // 风险等级确定表
 export const getRiskConfirmTable = (data) => request({
 	url: `riskManager/getRiskConfirmTable`,
 	method: 'GET',
 	data: data
 }); 
 // 动态风险评分检查结果信息
 export const getRiskDynamicResultInfo = (data) => request({
 	url: `riskManager/getRiskDynamicResultInfo`,
 	method: 'GET',
 	data: data
 });
 // 动态风险评分结果项列表
 export const getRiskDynamicContentList = (data) => request({
 	url: `riskManager/getRiskDynamicContentList`,
 	method: 'GET',
 	data: data
 });
 // 风险评定等级，评级页面信息获取
 export const getRiskLevelInfo = (data) => request({
 	url: `riskManager/getRiskLevelInfo`,
 	method: 'GET',
 	data: data
 });
 // 风险评定等级，评级页面信息获取结果
 export const getRiskLevelInfoResult = (data) => request({
 	url: `riskManager/getRiskLevelInfoResult`,
 	method: 'GET',
 	data: data
 });
 // 动态风险评分保存
 export const saveRiskLevelInfo = (data) => request({
 	url: `riskManager/saveRiskLevelInfo`,
 	method: 'POST',
 	data: data
 });
 // 动态风险评分审核
 export const saveRiskLevelExamine = (data) => request({
 	url: `riskManager/saveRiskLevelExamine`,
 	method: 'POST',
 	data: data
 });
 //---------------------------------证后审查-------------------------------
 // 证后审查列表
 export const getList = (data) => request({
 	url: `certificareview/getList`,
 	method: 'GET',
 	data: data
 });
 // 证后审查查看证后检查
 export const getDetail = (data) => request({
 	url: `certificareview/getDetail`,
 	method: 'GET',
 	data: data
 });
// 证后审查证后审查录入
export const getReviewEnterInfo = (data) => request({
	url: `certificareview/getReviewEnterInfo`,
	method: 'GET',
	data: data
});
// 证后审查获取监管人员列表
export const getSupervisors = (data) => request({
	url: `certificareview/getSupervisors`,
	method: 'GET',
	data: data
});
// 证后审查获取监管人员列表
export const getExpertArchives = (data) => request({
  	url: `certificareview/getExpertArchives`,
  	method: 'GET',
  	data: data
});
// 保存
export const saveReviewEnterInfo = (data) => request({
 	url: `certificareview/saveReviewEnterInfo`,
 	method: 'POST',
 	data: data,
	header: {
		'content-Type': 'application/json;charset=utf-8'
	}
 });
 //--------------------------------体系检查-----------------------------------------
 export const getSchemeCheckList = (data) => request({
 	url: `schemePlan/getList`,
 	method: 'GET',
 	data: data
 });
 //获取检查页面信息
 export const getSchemeCheckInfo = (data) => request({
 	url: `schemePlan/schemeCheckInfo`,
 	method: 'GET',
 	data: data
 });
 //保存告知单
 export const saveSchemeCheckInform = (data) => request({
 	url: `schemePlan/saveCheckInform`,
 	method: 'POST',
 	data: data
 });
 //保存
 export const saveSchemeCheckInfo = (data) => request({
 	url: `schemePlan/saveCheckInfo`,
 	method: 'POST',
 	data: data
 });
 //保存
 export const schemeFinaSaveInfo = (data) => request({
 	url: `schemePlan/finaSaveInfo`,
 	method: 'POST',
 	data: data
 }); 
 
 // 获取要电表是生成需要的数据
 export const getSchemeResultTable = (data) => request({
 	url: `schemePlan/getResultTable`,
 	method: 'GET' ,
 	data: data   
 });
 
 // 获取检查结果中的内容
 export const getSchemeResultInfo = (data) => request({
 	url: `schemePlan/getCheckResultInfo`,
 	method: 'GET' ,
 	data: data   
 });
 export const getSchemeContentList = (formData) => request({
 	url: `schemePlan/getCheckContentList`,
 	method: 'GET',
 	data: formData
 });
 export const getDailyMergeInspectList = (formData) => request({
 	url: `schemePlan/getDailyMergeInspectList`,
 	method: 'GET',
 	data: formData
 });
 //-----------------------------------飞行检查-----------------------------------------------
 export const getFlightCheckList = (data) => request({
 	url: `flightPlan/getList`,
 	method: 'GET',
 	data: data
 });
 //获取检查页面信息
 export const getFlightCheckInfo = (data) => request({
 	url: `flightPlan/schemeCheckInfo`,
 	method: 'GET',
 	data: data
 });
 //保存告知单
 export const saveFlightCheckInform = (data) => request({
 	url: `flightPlan/saveCheckInform`,
 	method: 'POST',
 	data: data
 });
 //保存
 export const saveFlightCheckInfo = (data) => request({
 	url: `flightPlan/saveCheckInfo`,
 	method: 'POST',
 	data: data
 });
 //最终保存
 export const flightFinaSaveInfo = (data) => request({
 	url: `flightPlan/finaSaveInfo`,
 	method: 'POST',
 	data: data
 }); 
 
 // 获取要电表是生成需要的数据
 export const getFlightResultTable = (data) => request({
 	url: `flightPlan/getResultTable`,
 	method: 'GET' ,
 	data: data   
 });
 
 // 获取检查结果中的内容
 export const getFlightResultInfo = (data) => request({
 	url: `flightPlan/getCheckResultInfo`,
 	method: 'GET' ,
 	data: data   
 });
 export const getFlightContentList = (formData) => request({
 	url: `flightPlan/getCheckContentList`,
 	method: 'GET',
 	data: formData
 });
 
 
 export const getFlightSupervisePersonList = (formData) => request({
 	url: `flightPlan/getFlightSupervisePersonList`,
 	method: 'GET',
 	data: formData 
 });
 
 
 // 版本更新
 export const updateVersion = (formData) => request({
 	url: `update/checkVersion`,
 	method: 'GET',
 	data: formData
 });
 //-------------------智能任务----------------------------------------
 export const intelligentTaskList = (formData) => request({
 	url: `intelligentTask/getList`,
 	method: 'GET',
 	data: formData
 });
 //-------------------专项任务----------------------------------------
 export const getSpecialCheckList = (formData) => request({
 	url: `specialInspect/getList`,
 	method: 'GET',
 	data: formData
 });
 export const getSpecialBaseInfo = (formData) => request({
 	url: `specialInspect/getBaseInfo`,
 	method: 'GET',
 	data: formData
 });
 //获取待办的专项检查任务
 export const getSpecialInspectList = (formData) => request({
 	url: `dailyInspect/getSpecialInspectList`,
 	method: 'GET',
 	data: formData
 });
 // 专项检查保存
 export const saveSpecialCheckInfo = (formData) => request({
 	url: `specialInspect/saveCheckInfo`,
 	method: 'POST',
 	data: formData
 });
 // 专项检查最终保存
 export const finaSpecialSaveInfo = (formData) => request({
 	url: `specialInspect/finaSaveInfo`,
 	method: 'POST',
 	data: formData
 });
 // 抽检信息查询列表
 export const spotCheckList = (formData) => request({
 	url: `spotCheck/spotCheckList`,
 	method: 'GET',
 	data: formData
 });
  
 // 抽检信息查询企业
 export const spotCheckGetCompany = (formData) => request({
 	url: `spotCheck/spotCheckGetCompany`,
 	method: 'GET',
 	data: formData
 }); 
  
 // 获取检查距离设置内容
 export const getChaseDistance = (companyId) => request({
 	url: `base/checkDistance`,
 	method: 'GET',
 	data: {companyId : companyId}
 }); 
  
 // 查看发布信息
 export const sysNoticeList = (data) => request({
 	url: `sysNotice/list`,
 	method: 'GET' ,
 	data: data
 });
 
 // 查看发布信息详情
 export const sysNoticeInfo = (data) => request({
 	url: `sysNotice/info`,
 	method: 'GET' ,
 	data: data
 }); 

// 生产日常检查新增检查
export const productionInspectGetCompanyInfo = (data) => request({
	url: `pro/ratingScore/getCompanyInfo`,
	method: 'GET',
	data: data
});
// 生产日常检查新增检查
export const productionInspectGetResultTableInfo = (data) => request({
	url: `pro/ratingScore/getResultTableCode`,
	method: 'GET',
	data: data
});

// 生产日常检查新增检查-执法人员2列表
export const productionInspectgetUserList = (data) => request({
	url: `pro/ratingScore/getUserList`,
	method: 'GET',
	data: data
});

// 生产日常检查新增检查-检查项
export const productionInspectgetDailyInspectionItemList = (data) => request({
	url: `pro/ratingScore/getDailyInspectionItemList`,
	method: 'GET',
	data: data
});

// 生产日常检查新增检查保存
export const productionInspectgetDailyScore = (formData) => request({
	url: `pro/ratingScore/dailyScore`,
	method: 'POST',
	data: formData,
	header: {
		'content-Type': 'application/json'
	},
});

// 生产日常查看结果
export const productionInspectgetDailyScoreInfo = (data) => request({
	url: `pro/ratingScore/dailyScoreInfo`,
	method: 'GET',
	data: data
});

// 包保信息列表
export const getBaobaoListByCompanyCode = (data) => request({
	url: `baobao/getBaobaoListByCompanyCode`,
	method: 'GET',
	data: data
});

// 包保信息内容
export const getBaobaoDetailListById = (data) => request({
	url: `baobao/getBaobaoDetailListById`,
	method: 'GET',
	data: data
});


//抽检监管-查看企业信息
export const getQuerySamplingCompanyList = (data) => request({
	url: 'sampling/querySamplingCompanyList',
	method: "GET",
	data: data

})

//抽检监管-抽检历史记录
export const queryPushHistoryList = (data) => request({
	url: 'sampling/queryPushHistoryList',
	method: "GET",
	data: data

})

//查看企业-食品类别
export const foodCategoryList = (data) => request({
	url: `base/queryJgProcessCodeTwo`,
	method: 'GET'
});

//查看企业-认领企业
export const submitClaimStatus = (data) => request({
	url: `sampling/submitClaimStatus`,
	method: 'POST',
	data: data
});

//查看企业-回退
export const cancelClaim = (data) => request({
	url: `sampling/cancelClaim`,
	method: 'POST',
	data: data
});

// 查看企业-上传确认单回显
export const openSamplingView = (data) => request({
	url: `sampling/openSamplingView`,
	method: 'GET',
	data: data
});

//  查看企业-上传确认单
export const uploadSamplingFile = (data) => request({
	url: `sampling/uploadSamplingFile`,
	method: 'POST',
	data: data
});

// 查看企业-保存确认单
export const saveSamplingCompany = (data) => request({
	url: `sampling/saveSamplingCompany`,
	method: 'POST',
	data: data
});

// 统计查询
export const querySamplingStatistics = (data) => request({
	url: `sampling/querySamplingStatistics`,
	method: 'GET',
	data: data
});

// 社会责任评分
export const socialResponsibilityList = (data) => request({
	url: `dailyInspect/liabilityItemList`,
	method: 'GET',
	data: data
});